/**
 * output package name
 */
package com.kingdee.eas.mx.basedata.enums;

import java.util.Iterator;
import java.util.List;
import java.util.Map;

import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class ReceiptStateEnum extends StringEnum
{
    public static final String ISNULL_VALUE = "0";
    public static final String IN_VALUE = "1";
    public static final String OUT_VALUE = "2";

    public static final ReceiptStateEnum isnull = new ReceiptStateEnum("isnull", ISNULL_VALUE);
    public static final ReceiptStateEnum in = new ReceiptStateEnum("in", IN_VALUE);
    public static final ReceiptStateEnum out = new ReceiptStateEnum("out", OUT_VALUE);

    /**
     * construct function
     * @param String receiptStateEnum
     */
    private ReceiptStateEnum(String name, String receiptStateEnum)
    {
        super(name, receiptStateEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static ReceiptStateEnum getEnum(String receiptStateEnum)
    {
        return (ReceiptStateEnum)getEnum(ReceiptStateEnum.class, receiptStateEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(ReceiptStateEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(ReceiptStateEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(ReceiptStateEnum.class);
    }
}